    <div class="container top">
           <div style="text-align: center" align="center">
            <table style="text-align: center;width: 80%" align="center" class="globaltable globaltable-striped globaltable-bordered globaltable-condensed">
             <?php
                    echo '<tr>';
                    echo '<th>Subject</th>';
                    echo '<th>Group</th>';
                    echo '<th>academic_session</th>';
                    echo '<th>section</th>';
                    echo '<th>First Term</th>';
                    echo '<th>Pro Term</th>';
                    echo '<th>Pre Test</th>';
                    echo '<th>Test Exam</th>';
                    echo '<th>Prac. att. </th>';
                    echo '</tr>';
                    
                  foreach($all_attendence as $row)
                  {
                    echo '<tr>';
                    echo '<td style="text-align: center" > '.$row["subject_id"].'</td>';
                    echo '<td style="text-align: center" > '.$row["group_id"].'</td>';
                    echo '<td style="text-align: center" > '.$row["academic_session"].'</td>';
                    echo '<td style="text-align: center" > '.$row["section"].'</td>';
                    echo '<td style="text-align: center" > '.$row["f_y_1st_t_att"].'</td>';
                    echo '<td style="text-align: center" > '.$row["f_y_pro_t_att"].'</td>';
                    echo '<td style="text-align: center" > '.$row["s_y_pre_t_att"].'</td>';
                    echo '<td style="text-align: center" > '.$row["s_y_test_t_att"].'</td>';
                    echo '<td style="text-align: center" > '.$row["prac_t_att"].'</td>';
                    echo '</tr>';
                  }
                ?>   
             </table>
           </div>

      

    </div>
     